package com.chis.childcheck;

import com.alibaba.fastjson.JSON;
import com.chis.jm.bean.ChildSynInfoBean;
import com.chis.jm.bean.CrTriggerBean;
import com.chis.jm.bean.TriggerBean;
import com.chis.jm.bean.jxc.trace.TraceBean;
import com.chis.jm.bean.ll.MsgBean;
import com.chis.jmdataspark.comm.JedisSerializeUtil;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.ShardedJedis;
import redis.clients.jedis.Tuple;

import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;

/**
 * @author wlj
 * @version 2019年08月09日
 * @Description
 * @Company zwx
 */
public class ExcNum {
    public static void main(String[] args) {
        ShardedJedis jedis = JedisConnect.getInstance().sparkjedisPool.getResource();
        jedis.select(1);
        String key = "group_CRGM-TOPIC_CRGM-";
        for (int i = 0; i < 8; i++) {
            String tmp = key + i;
            Long sd = jedis.zcount(tmp.getBytes(), 0, 1000000000);
//            Set<Tuple> value = jedis.zrangeByScoreWithScores(tmp.getBytes(), 0, 10000000);
            System.out.println(sd);
        }


    }
}
